Can't get values of input with js